﻿<ribbon:Tab x:Class="XWord.GUI.Views.Fundamental.ThemeTabView"
			 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
			 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
			 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
			 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
			 xmlns:shared="http://schemas.actiprosoftware.com/winfx/xaml/shared" 
			 xmlns:ribbon="http://schemas.actiprosoftware.com/winfx/xaml/ribbon"
             xmlns:local="clr-namespace:XWord.GUI.Views.Tabs"
             xmlns:cal="http://www.caliburnproject.org"
			 mc:Ignorable="d" Label="皮肤" 
			 d:DesignHeight="300" d:DesignWidth="300">

  
        <ribbon:Group Label="Themes">
            <ribbon:Group.Variants>
                <ribbon:GroupVariant Priority="40" Size="Collapsed" />
            </ribbon:Group.Variants>
            <ribbon:StackPanel ItemVariantBehavior="LargeThenMediumWhenMedium">
            <ribbon:Button KeyTipAccessText="K" Command="local:ThemeApplicationCommands.ThemeBlack" />
            <ribbon:Button KeyTipAccessText="B" Command="local:ThemeApplicationCommands.ThemeBlue" />
            <ribbon:Button KeyTipAccessText="S" Command="local:ThemeApplicationCommands.ThemeSilver" />
            </ribbon:StackPanel>
        <ribbon:Button KeyTipAccessText="Y" Command="local:ThemeApplicationCommands.ThemeSystem" />
            <ribbon:Separator />
            <ribbon:StackPanel ItemVariantBehavior="AlwaysSmall">
                <ribbon:Button Label="Tan" ImageSourceSmall="/Resources/Images/ThemeTan16.png"
									Command="local:ThemeApplicationCommands.ThemeCustom">
                    <ribbon:Button.CommandParameter>
                        <ribbon:CheckableCommandParameter Tag="Tan" />
                    </ribbon:Button.CommandParameter>
                </ribbon:Button>
                <ribbon:Button Label="Steel Blue" ImageSourceSmall="/Resources/Images/ThemeSteelBlue16.png"
									Command="local:ThemeApplicationCommands.ThemeCustom">
                    <ribbon:Button.CommandParameter>
                        <ribbon:CheckableCommandParameter Tag="SteelBlue" />
                    </ribbon:Button.CommandParameter>
                </ribbon:Button>
                <ribbon:Button Label="Green" ImageSourceSmall="/Resources/Images/ThemeGreen16.png"
									Command="local:ThemeApplicationCommands.ThemeCustom">
                    <ribbon:Button.CommandParameter>
                        <ribbon:CheckableCommandParameter Tag="Green" />
                    </ribbon:Button.CommandParameter>
                </ribbon:Button>
            </ribbon:StackPanel>
            <ribbon:StackPanel ItemVariantBehavior="AlwaysSmall">
                <ribbon:Button Label="Dark Red" ImageSourceSmall="/Resources/Images/ThemeDarkRed16.png"
									Command="local:ThemeApplicationCommands.ThemeCustom">
                    <ribbon:Button.CommandParameter>
                        <ribbon:CheckableCommandParameter Tag="DarkRed" />
                    </ribbon:Button.CommandParameter>
                </ribbon:Button>
                <ribbon:Button Label="Purple" ImageSourceSmall="/Resources/Images/ThemePurple16.png"
									Command="local:ThemeApplicationCommands.ThemeCustom">
                    <ribbon:Button.CommandParameter>
                        <ribbon:CheckableCommandParameter Tag="Purple" />
                    </ribbon:Button.CommandParameter>
                </ribbon:Button>
                <ribbon:Button Label="Goldenrod" ImageSourceSmall="/Resources/Images/ThemeGoldenrod16.png"
									Command="local:ThemeApplicationCommands.ThemeCustom">
                    <ribbon:Button.CommandParameter>
                        <ribbon:CheckableCommandParameter Tag="Goldenrod" />
                    </ribbon:Button.CommandParameter>
                </ribbon:Button>
            </ribbon:StackPanel>
        </ribbon:Group>
        <!--<ribbon:Group Label="Other Features">
            <ribbon:Group.Variants>
                <ribbon:GroupVariant Priority="10" Size="Medium" />
                <ribbon:GroupVariant Priority="30" Size="Collapsed" />
            </ribbon:Group.Variants>
            <ribbon:Button KeyTipAccessText="G" Command="sample:ApplicationCommands.ToggleGlassEnabled" />
            <ribbon:Separator />
            <ribbon:StackPanel ItemVariantBehavior="AlwaysMedium">
                <ribbon:Button KeyTipAccessText="A" Command="sample:ApplicationCommands.ToggleMaximizeButtonVisible" />
                <ribbon:Button KeyTipAccessText="I" Command="sample:ApplicationCommands.ToggleMinimizeButtonVisible" />
            </ribbon:StackPanel>
        </ribbon:Group>-->

    </ribbon:Tab>
